#include<stdio.h>
int sum(int m, int n)
{
    if (n>100)
		return m;
    return sum(m+n,n+1);
}
int main()
{
    int i =sum(0,1);
    printf("%d",i);
}